#!/bin/bash
echo "Launching rosserial usb connection"
source /opt/ros/hydro/setup.bash
#export ROS_WORKSPACE=~/catkin_ws/src/revrev-vivo/
#export ROS_HOSTNAME=Dennisjcj
#export ROS_MASTER_URI=http://10.42.0.65:11311

roscd
cd ~/catkin_ws/src/revrev-vivo/
source devel/setup.bash

sudo chmod a+rw /dev/ttyACM0 #& send --"avoidulance"
rosrun rosserial_python serial_node.py /dev/ttyACM0 _baud:=9600
